package me.shiqiang.im.microservice;

import me.shiqiang.im.microservice.returnobj.AchievementLevelReturnObj;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by John on 2018/9/5
 */
@FeignClient(name = "service-achievement-red-packet")
public interface AchievementClient {

    @GetMapping("/achievement/redpacket/myself")
    AchievementLevelReturnObj userInfoById(@RequestParam("year") Integer year,
                                           @RequestParam("month") Integer month,
                                           @RequestParam("uuid") String uuid,
                                           @RequestParam("currency") String currency);
}
